import cn.ifloat.brick.logger.core.LogKit;
import cn.ifloat.brick.sprofile.web.WebApplication;
import cn.ifloat.brick.sprofile.web.init.config.WebEnvironmentConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author: float 2022/10/26 14:29
 *
 */

@RunWith(SpringRunner.class)
@SpringBootTest(classes = WebApplication.class)
//@ActiveProfiles()
public class SpringTestExample {

    @Autowired
    private WebEnvironmentConfig webEnvironmentConfig;


    @Test
    public void test() {
        System.out.println(webEnvironmentConfig.toString());
    }
}
